package com.devp.controller;

import com.devp.common.CommonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * create by yongli on 2021-05-20 11:34
 * 接口给有权限的角色调用
 */

@RestController
@RequestMapping("/script")
@Api("提供给后台调用的接口")
public class ScriptController {

    @ApiOperation("测试脚本")
    @GetMapping("/test")
    public CommonResult test() {

        return CommonResult.succeed("");
    }

}
